package com.woniuxy.microstockserver.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.microstockserver.bean.PageRequestBean;
import com.woniuxy.microstockserver.bean.StockDetailBean;

/**
 * @author 赵雄伟
 * 商品库存明细
 */
public interface IStockDetailService {

    /**
     * 分页、分类、模糊查询所有商品库存明细
     * @param pageRequestBean
     * @param stockDetailBean
     * @return
     */
    PageInfo<StockDetailBean> findAllStockDetailBean(PageRequestBean pageRequestBean, StockDetailBean stockDetailBean);

    /**
     * 新增
     * @param stockDetailBean
     * @return
     */
    int saveStockDetailBean(StockDetailBean stockDetailBean);
}
